package polymorphism;

public class Teacher2 extends People2{

    /*public void write(){
        System.out.println("\t\t\t\t 《我的爸爸》");
        System.out.println("\t\t我的爸爸有一双不太宽厚却总带着力气的手");
        System.out.println("爸爸说别怕，想家了就回来");
        System.out.println("原来最深的爱，从不用言语声张。");
    }*/

    @Override
    public String writMain() {
        return "爸爸说别怕，想家了就回来";
    }



}
